using UnityEngine;
using System.Collections;

public class BlockAddForce : MonoBehaviour {

	public float ForceX;
	public float ForceY;	
	
	void OnCollisionEnter(Collision kulka) {
            //kulka.rigidbody.useGravity = true;
			kulka.rigidbody.AddForce(ForceX, ForceY, 0);
    }
	
	//void OnControllerColliderHit(ControllerColliderHit hit) {
			//hit.rigidbody.AddForce(ForceX, ForceY, 0);
			//.transform.position = Vector3.zero;
				//rigidbody.AddForce(ForceX, ForceY, 0);
	
		//}
}